package com.wondream.plumelog.samples.constants;

/**
 * @author wangjun
 * @note TraceConstants
 * @date 2023-10-24  14:25
 */
public class TraceConstants {

    /**
     * 日志跟踪标识
     */
    public static final String TRACE_ID_MDC_FIELD = "traceId";
    public static final String SPAN_ID_MDC_FIELD = "spanId";
    public static final String PARENT_SPAN_ID_MDC_FIELD = "parentSpanId";
    public static final String TRACE_ID_HTTP_FIELD = "X-B3-TraceId";
    public static final String SPAN_ID_HTTP_FIELD = "X-B3-SpanId";
    public static final String PARENT_SPAN_ID_HTTP_FIELD = "X-B3-ParentSpanId";
    public static final String SAMPLED_HTTP_FIELD = "X-B3-Sampled";

}
